import http from './http.js'

/**
 * 转化序列
 * @param {*} val 
 */
function Qs(val) {
  let str = '',
    arr = [];

  for (var i in val) {
    str = i + '=' + val[i];
    arr.push(str);
  }

  return arr.join('&');
}

// 获取推荐商品列表 
export const getRecommendApi = () => {
  return http({
    url: `/xxx`,
    data: {}
  })
}